package com.xinzhi.mapper;

import com.xinzhi.pojo.Bankaccount;
import com.xinzhi.pojo.dto.TransferAccountsRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TransferAccountsMapper {

    /**
     * 根据卡号修改金额
     * @param
     * @return
     */
    int updateMoneyByCardNumber(@Param("cardNumber")String cardNumber,@Param("money")Double money);

    /**
     * 根据银行卡号查询余额
     * @param cardNumber
     * @return
     */

    Bankaccount selectMoney(String cardNumber);
}
